.g-form {
  padding: 15px;
}

/*header.html*/
.header {
  display: flex;
  /* width: 100%; */
  height: 60px;
  background-color: hsl(228, 11.6279069767%, 16.862745098%);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.45);
  position: sticky;
  top: 0;
  z-index: 9999;
  border-radius: 0 0 2px 2px;
}
.header .header-nav-item {
  height: 60px !important;
}
.header .app-logo-item {
  display: flex;
  flex-direction: row !important;
  /* justify-content: center; */
  align-items: center;
  /* height: 80px; */
  margin-left: 30px;
}
.header .app-logo-item .app-logo-link {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.header .app-logo-item .logo {
  display: flex;
  padding: 2px;
  background-color: #ffffff;
  border-radius: 5px;
}
.header .app-logo-item .logo img {
  height: 30px;
  width: 30px;
  /* border-radius: 50%; */
  /* border: 1px solid #eee; */
}
.header .app-logo-item .app-name {
  font-size: 1.28rem;
  font-weight: bold;
  color: #ffffff;
  margin-left: 10px;
}

/*footer.html*/
.footer {
  text-align: center;
  font-size: 1rem;
  padding: 20px 0 30px;
  width: 100%;
  /*background-color: #eee;*/
  background-color: var(--lay-color-bg-2);
  color: var(--lay-color-text-2);
}

/* model.html */
.m-container {
  display: flex;
  flex-direction: column;
  padding: 1rem 4rem 5rem;
}
.m-container .search-wrapper {
  display: inline-flex;
  margin-bottom: 15px;
}
.m-container .search-wrapper #searchContent {
  width: 240px;
}

/* model_detail.html */
.md-container {
  padding: 1rem 0 4rem;
}
.md-container-header {
  margin-bottom: 10px;
}
.md-container-header .layui-card {
  padding: 10px;
}
.md-container-header .layui-card .global-back {
  margin-right: 12px;
  font-size: 1rem;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
}
.md-container-header .layui-card .global-back:hover {
  color: #16b777;
}
.md-container .layui-table-box .layui-table-cell {
  padding: 6px 4px;
}
.md-container-main-right {
  position: sticky;
  top: 5px;
  z-index: 1;
}

/*model_form.html*/
#model_form .m-form-content {
  display: flex;
  flex-direction: row;
}
#model_form .m-form-content-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-right: 20px;
}
#model_form .m-form-content-right {
  width: 200px;
  display: flex;
  flex-direction: column;
  padding-left: 20px;
  border-left: 1px solid var(--lay-color-border-2);
}
#model_form .m-form-content-right .def-cols-title {
  background-color: var(--lay-color-fill-2);
  border-bottom: 1px solid var(--lay-color-border-2);
  padding: 5px;
}
#model_form .m-form-content-right .def-cols-content {
  display: flex;
  flex-direction: column;
  padding: 10px;
}
#model_form .m-form-content-right .def-cols-content .layui-form-checkbox:not(:last-child) {
  margin-bottom: 10px;
}

/* add_model_detail_form.html */
.add-model-form-container {
  padding: 5px;
}
.add-model-form-container .add-model-form-title {
  font-size: 1rem;
  margin: 10px;
  color: black;
}
.add-model-form-container #addPropertyForm .layui-input-block {
  margin-left: 90px;
}
.add-model-form-container #addPropertyForm .layui-form-label {
  padding: 9px 0;
}

/*model_detail_form.html*/
#md_form .pro-col-name {
  background-color: var(--lay-color-fill-2);
  text-align: center;
  padding: 10px;
  border-radius: 5px;
  line-height: 30px;
  margin-bottom: 15px;
}

/*project_form.html*/
#project_form .pro-form-content {
  display: flex;
  flex-direction: row;
}
#project_form .pro-form-content-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-right: 10px;
}
#project_form .pro-form-content-left .layui-form-item {
  margin-bottom: 5px;
}
#project_form .pro-form-content-left .module-input-container {
  display: flex;
  flex-direction: row;
}
#project_form .pro-form-content-left .module-content {
  margin-top: 1px;
  background-color: var(--lay-color-fill-2);
  line-height: 22px;
  max-height: 90px;
  overflow: auto;
  padding-right: 15px;
}
#project_form .pro-form-content-left .module-content .module-del-icon {
  color: var(--lay-color-text-2);
  margin-left: 4px;
  /* padding: 2px; */
  font-size: 1rem;
  margin-top: 2px;
}
#project_form .pro-form-content-left .module-content .module-del-icon:hover {
  color: var(--lay-color-secondary) !important;
  /*#5FB878;*/
  cursor: pointer;
}
#project_form .pro-form-content-left .module-content .module-name-content {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  padding: 0 2px 0 4px;
  font-size: 0.85rem;
  margin: 0 4px;
}
#project_form .pro-form-content-left .module-content .module-name-content .module-name-title {
  max-width: 200px;
  padding: 0 2px 0 4px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
#project_form .pro-form-content-mid {
  display: flex;
  flex-direction: column;
  margin-top: 14px;
}
#project_form .pro-form-content-mid .model-select-head {
  padding-bottom: 5px;
  display: flex;
  flex-direction: row;
  align-items: center;
}
#project_form .pro-form-content-mid .model-select-head-left {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
}
#project_form .pro-form-content-mid .model-select-head-left label {
  width: 55px;
}
#project_form .pro-form-content-mid .model-select-head-left .layui-form-select {
  flex: 1;
}
#project_form .pro-form-content-mid .model-select-head #distributeModelBtn {
  margin-left: 10px;
}
#project_form .pro-form-content-mid .model-select-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#project_form .pro-form-content-mid .model-select-foot {
  padding-top: 5px;
}
#project_form .pro-form-content-mid .model-select-foot .layui-btn {
  width: 100%;
  margin: 0;
}
#project_form .pro-form-content-right {
  width: 320px;
  margin: 0 20px 0 10px;
  /* border-left: 1px solid #eee; */
  border: 1px solid var(--lay-color-border-2);
  display: flex;
  flex-direction: column;
  height: 510px;
}
#project_form .pro-form-content-right .pro-struc-title {
  background-color: var(--lay-color-fill-2);
  border-bottom: 1px solid var(--lay-color-border-2);
  padding: 5px;
  height: 30px;
}
#project_form .pro-form-content-right .pro-struc-content {
  flex: 1;
}
#project_form .pro-form-content-right .pro-struc-content #proStructureTree {
  overflow: auto;
  height: 479px;
}
#project_form .pro-form-footer {
  height: 55px;
  display: flex;
  width: 100%;
  align-items: flex-end;
  justify-content: flex-end;
}
